package com.gency.subscribe.model.system;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 马行空
 * @since 2018-06-28
 */
@TableName("reg_company_property")
public class CompanyProperty extends Model<CompanyProperty> {

    private static final long serialVersionUID = 1L;

    /**
     * 数据编号
     */
	private Long id;
	
	@TableField("support_id")
	private Long supportId;
    /**
     * 其他知识产权名称
     */
	private String name;
    /**
     * 类别
     */
	private String type;
    /**
     * 授权
     */
	private String authorization;
    /**
     * 获得方式
     */
	private String getway;
    /**
     * 创建时间
     */
	private Date createTime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getAuthorization() {
		return authorization;
	}

	public void setAuthorization(String authorization) {
		this.authorization = authorization;
	}

	public String getGetway() {
		return getway;
	}

	public void setGetway(String getway) {
		this.getway = getway;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	public Long getSupportId() {
		return supportId;
	}

	public void setSupportId(Long supportId) {
		this.supportId = supportId;
	}

	@Override
	public String toString() {
		return "CompanyProperty{" +
			"id=" + id +
			", name=" + name +
			", type=" + type +
			", authorization=" + authorization +
			", getway=" + getway +
			", createTime=" + createTime +
			"}";
	}
}
